<?php
$ProjNo= $_GET['No'];

require('config.inc.php');
require('db.php');

db_connect();
db_select();

$sql = '';
$sql .= 'delete FROM project WHERE ProjNo=\''.$ProjNo.'\'';

$result = mysql_query($sql) or die('Invalid query: ' . mysql_error());

header("Location:"."proj_list.php");

?>